package com.lg.serivce;

import java.util.List;

import com.lg.model.AngelCandidate;
import com.lg.model.AngelPictures;
import com.lg.model.exception.BusinessException;
import com.lg.model.exception.OtherException;

public interface AngelCandidateService extends GenericService<AngelCandidate> {
	/**
	 * 天使首页排行榜
	 * @return
	 * @throws BusinessException
	 * @throws OtherException
	 */
	public List<AngelCandidate> findIndexUserVoteNum()
			throws BusinessException, OtherException;
	public List findAngels (String type);
	/**
	 * 查询个人档案和自我描述
	 */
	public AngelCandidate findAngelCandidate(String promoterId);
	
	/**
	 * 校验用户昵称是否存在
	 */
	public boolean findCandidateIsExist(String nkname)throws BusinessException,OtherException;
	/**
	 * 修改选手信息
	 */
	public void updateAngel(AngelCandidate angel);
	
	public boolean addAngelCandidate(AngelCandidate angel,List<AngelPictures> list)throws BusinessException,OtherException;
}
